package com.dyna.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dyna.domain.entity.VirtualLocker;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description 寄存柜
 * @author zcw
 * @date 2025-02-27
 */
@Mapper
public interface VirtualLockerMapper extends BaseMapper<VirtualLocker> {

    /**
     * 查询个人寄存柜
     * @param userId 用户id
     * @return List<VirtualLocker>
     */
    List<VirtualLocker> querySelfVirtualLocker(@Param("userId") Long userId);

}